package com.ely.coupon.common.idempotent.service;

import javax.servlet.http.HttpServletRequest;

/**
 *
 */
public interface TokenService {
    /**
     * 生成token
     */
    void createToken(Long id);

    /**
     * 校验Token
     */
    Boolean verifyToken(HttpServletRequest request);


}
